package cn.edu.mju.property.service;

import cn.edu.mju.property.entity.PageBean;
import cn.edu.mju.property.entity.Repair;
import cn.edu.mju.property.entity.User;

import java.util.List;

public interface RepairService {

    /*获取报修数据*/
/*    public List<Repair> findall();*/

    /*添加报修数据*/
    public boolean addRepair(Repair repair);

    /*删除报修数据*/
    public boolean delRepair();

    /*修改报修数据*/
    public boolean updateRepair(Repair repair);

    /*分页查询*/
    PageBean<Repair> findByPage(String currentPage, String rows);

}
